#include "./SYSTEM/sys/sys.h"
#include "./SYSTEM/usart/usart.h"
#include "./SYSTEM/delay/delay.h"

#include "freertos.h"
#include "task.h"

#include "bms_app.h"
#include "drv_modbus.h"

int main(void)
{
    HAL_Init();                               
    sys_stm32_clock_init(RCC_PLL_MUL9);
    delay_init(72);                     
	  usart_init(115200);                          
  
		// Bms system initialise
		BMS_SysInitialize();

	  vTaskStartScheduler();
		
		while(1)
		{
			
		}
}
